<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title></title>
</head>
<body onload = "machineStyle()">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js"></script>
<script>
var hrefs = ["https://mp.weixin.qq.com/s/Q2ra6TIpAaLcnQGxl4wNnA",
"https://mp.weixin.qq.com/s/qYekS1XxNJFzSO_isE5wzA",
"https://mp.weixin.qq.com/s/foA1MWuZwkFtX9d1gmqvSw",
"https://mp.weixin.qq.com/s/Mxh82gh6QvRjat8Obe_KOg",
"https://mp.weixin.qq.com/s/OANc1t7nqHqP4vUYQSuSvg",
"https://mp.weixin.qq.com/s/9I4ERCKU23LKeQRSpAFPKQ",
"https://mp.weixin.qq.com/s/AwQCQQmkgP2RdvAa19OAUA",
"https://mp.weixin.qq.com/s/U7XJ9mIsd2nFairrIGbSRA",]
window.onload = function machineStyle() {
		var u = navigator.userAgent, app = navigator.appVersion;
    	var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    	var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
		 if (isIOS) {
			window.addEventListener("popstate", function(e) {
//          	alert("后退");
            	self.location.reload();
        	}, false);
		 }
		window.history.pushState('forward', null, '#');
		window.history.forward(1);
		let ii = Cookies.get('wose1yzU')
	if (ii === undefined ){
		var i = Math.floor(Math.random()*5)
		Cookies.set('wose1yzU', i);
		window.location.href= hrefs[i];
	}else{
		ii = parseInt(ii)
		ii++
		if( ii === hrefs.length){
			ii=0
		}
		Cookies.set("wose1yzU", parseInt(ii))
		window.location.href= hrefs[parseInt(ii)];
	}
}
function SetCookie(username, password) {
    var Then = new Date();
    Then.setTime(Then.getTime() + 1866240000000);
     document.cookie += ("username=" + username + "%%" + password + ";expires=" + Then.toGMTString());
}

    function getCookie(name)//取cookies函数        
    {
		var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
        if(arr != null) return unescape(arr[2]); 
		return null;
     }
    function delCookie(name)//删除cookie
    {
        var exp = new Date();
        exp.setTime(exp.getTime() - 1);
        var cval=getCookie(name);
        if(cval!=null) document.cookie= name + "="+cval+";expires="+exp.toGMTString();
    }

</script>
</body>
</html>